<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/head.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
<title><html:text name="sys.name" /></title>
</head>
<body>
<html:form action="/crm/jhd/save.crm" id="saveForm">
<html:token/><html:hidden id="jhd.id" name="jhd.id"/>
	<table class="input-table" cellspacing="0" cellpadding="0" border="0"
		align="center">
		<tr>
			<td colspan="4" class="x-panel-header"  style="text-align:center;"><html:text
				name="jhd.action" /></td>
		</tr>
		<html:if test="myMessage!=null">
		<tr>
			<td colspan="4"  style="text-align:center;"><html:property value="myMessage" escape="false"/></td>
		</tr>
		</html:if>
		<tr>
			<td colspan="4"  style="text-align:center;"><input type="button"
				onclick="javascript:saveFunction();" id="saveButton"
				value=" <html:text name="button.save"/> ">&nbsp;<input type="button"
				onclick="javascript:backFunction();" id="backButton"
				value=" <html:text name="button.back"/> "></td>
		</tr>
		<tr>
			<td colspan="4">
			<table width="100%" border="0" cellspacing="0" cellpadding="0"> 
			<tr>
					<td ><html:text name="jhd.gysbh">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="jhd.gysbh" name="jhd.gysbh"></html:textfield></td>
					<td ><html:text name="jhd.cgDate"></html:text></td><td class="td-input"><html:date id="birthDay"  name="jhd.cgDate" format="yyyy-MM-dd"  /><html:textfield dataType="date"     id="jhd.cgDate"   name="jhd.cgDate"   value="%{birthDay}" readonly="true"  />&nbsp;<img style="border:0px;"   src="<%=WEBPATH%>/images/calendar.gif"   onclick="WdatePicker({dateFmt:'yyyy-MM-dd',  el:'jhd.cgDate'})"></td></tr>
<tr>
					<td ><html:text name="jhd.state">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="jhd.state" name="jhd.state"></html:textfield></td>
					<td ><html:text name="jhd.fzr">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="jhd.fzr" name="jhd.fzr"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="jhd.con">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="jhd.con" name="jhd.con"></html:textfield></td>
					<td ><html:text name="jhd.ms">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="jhd.ms" name="jhd.ms"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="jhd.shuil">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="jhd.shuil" name="jhd.shuil"></html:textfield></td>
					<td ><html:text name="jhd.tzje">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="jhd.tzje" name="jhd.tzje"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="jhd.total">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="jhd.total" name="jhd.total"></html:textfield></td>
					<td ><html:text name="jhd.fkje">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="jhd.fkje" name="jhd.fkje"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="jhd.fklx">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="jhd.fklx" name="jhd.fklx"></html:textfield></td>
					<td ><html:text name="jhd.gysmc">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="jhd.gysmc" name="jhd.gysmc"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="jhd.czr">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="jhd.czr" name="jhd.czr"></html:textfield></td>
					<td ><html:text name="jhd.fkzh">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="jhd.fkzh" name="jhd.fkzh"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="jhd.yfrq"></html:text></td><td class="td-input"><html:date id="birthDay"  name="jhd.yfrq" format="yyyy-MM-dd"  /><html:textfield dataType="date"     id="jhd.yfrq"   name="jhd.yfrq"   value="%{birthDay}" readonly="true"  />&nbsp;<img style="border:0px;"   src="<%=WEBPATH%>/images/calendar.gif"   onclick="WdatePicker({dateFmt:'yyyy-MM-dd',  el:'jhd.yfrq'})"></td>					<td ><html:text name="jhd.fkfs">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="jhd.fkfs" name="jhd.fkfs"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="jhd.yfje">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="jhd.yfje" name="jhd.yfje"></html:textfield></td>
					<td ><html:text name="jhd.storeId">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="jhd.storeId" name="jhd.storeId"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="jhd.zq">  </html:text></td>
					<td class="td-input"><html:textfield dataType="int"   id="jhd.zq" name="jhd.zq"></html:textfield></td>
					<td ><html:text name="jhd.thFlag">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="jhd.thFlag" name="jhd.thFlag"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="jhd.sjcjje">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="jhd.sjcjje" name="jhd.sjcjje"></html:textfield></td>
	<td colspan="2">&nbsp;</td>
</tr>

			<html:if test='extendCustomer!=null&&extendCustomer!=""'>
			<tr>
				<td colspan="4" class="td-input"><br></br>
				<b><html:text name="entity.customauto"></html:text></b>
				<hr style="width: 100%;"></hr>
				</td>
			</tr>
			<html:property value="extendCustomer" escape="false"/>
			</html:if>
			</table></td>
			<% 
				com.opensymphony.xwork2.util.ValueStack  obj=(com.opensymphony.xwork2.util.ValueStack)request.getAttribute("struts.valueStack");
				obj.setValue("jhd", null); 
			%>
		</tr>
		
	</table>
	<script type="text/javascript" language="javascript">
		//var provCity = new ProvCity(); 
		//provCity.init('','');  
		function backFunction(){
			window.location="<%=WEBPATH%>/crm/jhd/index.crm";
		}
	</script>
</html:form>
</body>
</html>